<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品订单</title>
    <link rel="stylesheet"  type="text/css" href="/css/reset.css">
    <link rel="stylesheet"  type="text/css" href="/css/main.css">
</head>
<body class="base_background">
    <div class="base">
        <div class="base_info">
            <h3>商品订单</h3>
        </div>
        <div class="base_content">
            <table>
                {{if indent}}
                <tr>
                    <th width="40px">编号</th>
                    <th width="120px">客户</th>
                    <th width="50px">下单时间</th>
                    <th width="50px">商品</th>
                    <th width="40px">数量</th>
                    <th width="20px">联系电话</th>
                    <th width="50px">地址</th>
                </tr>
                {{each indent}}
                <tr>
                    <td>{{$index+1}}</td>
                    <td>{{$value.nick_name}}</td>
                    <td>{{$value.order_time | dateFormat}}</td>
                    <td>{{$value.commodity_name}}</td>
                    <td>{{$value.number}}</td>
                    <td>{{$value.phone}}</td>
                    <td>{{$value.address}}</td>
                </tr>
                {{/each}}
                {{else}}
                <tr>
                    <th>似乎还没有下单哦！</th>
                </tr>
                {{/if}}
            </table>
        </div>
    </div>
</body>
</html>